  <!--  Main JQuery  -->  
  <script type="text/javascript" src="modules/IShopUser/pnajax/sort_captcha/jquery-1.3.2.js"></script>

  <!-- ValidateForm JQuery -->    
	<link rel="stylesheet" href="modules/IShopUser/pnajax/validateform/css/general.css" type="text/css" media="screen" />   
	<script type="text/javascript" src="modules/IShopUser/pnajax/validateform/validation.js"></script>

  <!-- Upload JQuery -->     		
  <script type="text/javascript" src="modules/IShopUser/pnajax/ajaxupload/ajaxupload.js"></script>
  
  

<form id="customForm" 
      class="registration" 
      action="<!--[pnmodurl modname="IShopUser" 
                            type="ajax" 
                            func="uploadimage" 
                            filename="name"
                            maxSize="9999999999"
                            fullPath=$upload_path
                            relPath=$upload_path 
                            colorR="255"                             
                            colorG="255"                                    
                            maxH="125"
                            maxW="125"                                                                  
              ]-->" 
      method="post"
>
<table width="100%">
  <tr>
    <td width="50%" style="padding:0 25px 0 0px;">
		<h1>Shop Information</h1> 
			<label for="shop_name">Shop Icon</label> 
			<p>
				<input type="file" 
							 name="name" 
							 onchange="ajaxUpload(this.form,'<!--[pnmodurl modname="IShopUser" 
																type="ajax" 
																func="uploadimage" 
																filename="name"
																maxSize="9999999999"
																fullPath=$upload_path
																relPath=$upload_path  
																colorR="255"                             
																colorG="255"                                    
																maxH="125"
																maxW="125"                                    
									]-->', 'upload_area', 'File Uploading Please Wait...&lt;br /&gt;&lt;img src=\'modules/IShopUser/pnajax/ajaxupload/images/loader_light_blue.gif\' width=\'128\' height=\'15\' border=\'0\' /&gt;','&lt;img src=\'modules/IShopUser/pnajax/ajaxupload/images/error.gif\' width=\'16\' height=\'16\' border=\'0\' /&gt; Error in Upload, check settings and path info in source code.'); return false;" 
				/>
			</p>
		</form>
		<form id="customForm" 
					class="registration" 
					method="post"
					action="<!--[pnmodurl modname="IShopUser" type="user" func="openshop"]-->"  
		>
			<div id="shop_icon">
				<p id="upload_area">
					<img src="modules/IShopUser/pnimages/default_shop_icon.png" width="128" height="128">      
					<input id="shop_icon" name="form[shop_icon]" type="hidden" value="modules/IShopUser/pnimages/default_shop_icon.png"/>      
				</p>
			</div>       
			<div>
				<label for="shop_name">Shop Name</label>
				<input id="shop_name" name="form[shop_name]" type="text" />
				<span id="shop_nameInfo"> </span>
			</div>  
			<div>
				<label for="shop_subdomain">Shop URL</label>
				<input id="shop_subdomain" name="form[shop_subdomain]" type="text" />
				<span id="shop_subdomainInfo"></span>
			</div>
			<div>
				<label for="shop_description">Shop Description</label>
				<textarea rows="4" cols="50"name="form[shop_description]">
				</textarea>    
				<span id="shop_descriptionInfo"></span>
			</div>       
		</td>
    <td width="50%" style="padding:0 0 0 25px; border-left:1px solid #E5E5E5;">
 <h1>Contact Information</h1>
  <div>
    <label for="house_no">House no</label>
    <input id="house_no" name="form[house_no]" type="text" />
    <span id="house_noInfo"> </span>
  </div>  
  <div>
    <label for="moo">Moo</label>
    <input id="moo" name="form[moo]" type="text" />
    <span id="mooInfo"></span>
  </div>
  <div>
    <label for="soi">Soi</label>
    <input id="soi" name="form[soi]" type="text" />
    <span id="soiInfo"></span>    
  </div>
  <div>
    <label for="road">Road</label>  
    <input id="road" name="form[road]" type="text" />
    <span id="roadInfo"> </span>
  </div>  
  <div>
    <label for="road">Village</label>  
    <input id="road" name="form[village]" type="text" />
    <span id="villageInfo"></span>
  </div>  
  
  <div>
    <label for="tambon">Tambon</label>  
    <input id="tambon" name="form[tambon]" type="text" />
    <span id="tambonInfo"></span>
  </div>  
  <div>
    <label for="district">District</label>  
    <input id="district" name="form[district]" type="text" />
    <span id="districtInfo"></span>
  </div>  
  <div>
    <label for="province">Province</label>  
    <input id="province" name="form[province]" type="text" />
    <span id="provinceInfo"></span>
  </div>   
  <div>
    <label for="postcode">Zipcode</label>  
    <input id="postcode" name="form[zipcode]" type="text" />
    <span id="postcodeInfo"></span>
  </div>      
  <input id="send" type="submit" value="ดำเนินการต่อ">  </input>    
		</td>
  </tr>
</table>    
</form>